<script setup lang="ts"></script>

<template>
  <div class="search">
    文章详情的id:
    <p>{{ $route.params.id }}</p>
    <p>{{ $route.query.id }}</p>
    <!-- <p>{{ $route.query.ids }}</p> -->
  </div>
</template>

<style>
div {
  height: 300px;
  background-color: skyblue;
}
p {
  padding: auto;
}
</style>
